//
//  ImageBrowserView.h
//  Customized
//
//  Created by AceWei on 2017/8/11.
//  Copyright © 2017年 陈凯旋. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ImageBrowserView : UIView

//+ (instancetype)showImages:(NSArray <NSString *> *)urls
//                      size:(CGSize)size
//                     index:(NSInteger)index;


/// 一定得通过这个方法实现，传递size值
+ (instancetype)createWithSize:(CGSize)size;

- (void)addImageUrls:(NSArray <NSString *> *)urls
               index:(NSInteger)index;

- (void)addImageUrls:(NSArray <NSString *> *)urls;


/// 跳去第几页
- (void)goToPageNum:(NSUInteger)index;

@property (nonatomic, strong) UIPageControl *pageControl;


/// 当前页数
@property (nonatomic, assign) NSUInteger page;


// TODO: 是否开启无限滚动：（默认NO）
//@property (nonatomic, assign) BOOL InfiniteScroll;

@end
